local t = Def.ActorFrame {};
-- Taps
t[#t+1] = LoadFont("_celestia 20px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;queuecommand,"Set");
		  OnCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
			self:diffuse(PlayerColor(PLAYER_2));
			self:settext("TROTS");
		  end;
};

-- Holds
t[#t+1] = LoadFont("_celestia 20px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;addy,20;queuecommand,"Set");
		  OnCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
			self:diffuse(PlayerColor(PLAYER_2));
			self:settext("HOLDS");
		  end;
};

-- Jumps
t[#t+1] = LoadFont("_celestia 20px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;addy,40;queuecommand,"Set");
		  OnCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
			self:diffuse(PlayerColor(PLAYER_2));
			self:settext("JUMPS");
		  end;
};

-- Hands
t[#t+1] = LoadFont("_celestia 20px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;addy,60;queuecommand,"Set");
		  OnCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
		  	self:diffuse(PlayerColor(PLAYER_2));
			self:settext("MINES");
		  end;
};


t[#t+1] = LoadFont("_troika 24px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;addx,50);
		  OnCommand=cmd(queuecommand,"Transition";);
          CurrentStepsP2ChangedMessageCommand=cmd(finishtweening;queuecommand,"Set";); 
		  TransitionCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
		  PlayerJoinedMessageCommand=cmd(queuecommand,"Set";diffusealpha,0;smooth,0.3;diffusealpha,1;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
			stepsP2 = GAMESTATE:GetCurrentSteps(PLAYER_2)
			local song = GAMESTATE:GetCurrentSong();
			if song then 
				if stepsP2 ~= nil then
					local GetP2Radar = GAMESTATE:GetCurrentSteps(PLAYER_2):GetRadarValues(PLAYER_2);
					local P2Taps = GetP2Radar:GetValue('RadarCategory_TapsAndHolds')+GetP2Radar:GetValue('RadarCategory_Jumps')+GetP2Radar:GetValue('RadarCategory_Hands');
					self:settext(P2Taps);
				else
					self:settext("")
				end
			else
				self:settext("")
			end
         end
};

t[#t+1] = LoadFont("_troika 24px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;addx,50;addy,20;);
		  OnCommand=cmd(queuecommand,"Transition";);
          CurrentStepsP2ChangedMessageCommand=cmd(finishtweening;queuecommand,"Set";); 
		  TransitionCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
		  PlayerJoinedMessageCommand=cmd(queuecommand,"Set";diffusealpha,0;smooth,0.3;diffusealpha,1;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
			stepsP2 = GAMESTATE:GetCurrentSteps(PLAYER_2)
			local song = GAMESTATE:GetCurrentSong();
			if song then 
				if stepsP2 ~= nil then
					local GetP2Radar = GAMESTATE:GetCurrentSteps(PLAYER_2):GetRadarValues(PLAYER_2);
					local P2Holds = GetP2Radar:GetValue('RadarCategory_Holds');
					self:settext(P2Holds);
				else
					self:settext("")
				end
			else
				self:settext("")
			end
         end
};

t[#t+1] = LoadFont("_troika 24px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;addx,50;addy,40;);
		  OnCommand=cmd(queuecommand,"Transition";);
          CurrentStepsP2ChangedMessageCommand=cmd(finishtweening;queuecommand,"Set";); 
		  TransitionCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
		  PlayerJoinedMessageCommand=cmd(queuecommand,"Set";diffusealpha,0;smooth,0.3;diffusealpha,1;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
			stepsP2 = GAMESTATE:GetCurrentSteps(PLAYER_2)
			local song = GAMESTATE:GetCurrentSong();
			if song then 
				if stepsP2 ~= nil then
					local GetP2Radar = GAMESTATE:GetCurrentSteps(PLAYER_2):GetRadarValues(PLAYER_2);
					local P2Holds = GetP2Radar:GetValue('RadarCategory_Jumps');
					self:settext(P2Holds);
				else
					self:settext("")
				end
			else
				self:settext("")
			end
         end
};

t[#t+1] = LoadFont("_troika 24px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;addx,50;addy,60);
		  OnCommand=cmd(queuecommand,"Transition";);
          CurrentStepsP2ChangedMessageCommand=cmd(finishtweening;queuecommand,"Set";); 
		  TransitionCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
		  PlayerJoinedMessageCommand=cmd(queuecommand,"Set";diffusealpha,0;smooth,0.3;diffusealpha,1;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
			stepsP2 = GAMESTATE:GetCurrentSteps(PLAYER_2)
			local song = GAMESTATE:GetCurrentSong();
			if song then 
				if stepsP2 ~= nil then
					local GetP2Radar = GAMESTATE:GetCurrentSteps(PLAYER_2):GetRadarValues(PLAYER_2);
					local P2Hands = GetP2Radar:GetValue('RadarCategory_Mines');
					self:settext(P2Hands);
				else
					self:settext("")
				end
			else
				self:settext("")
			end
         end
};

return t